export type LoginState = {
  status: string;
  type: string;
  // currentAuthority?: string;
};

export type LoginParams = {
  tenantId: string;
  username?: string;
  password?: string;
  // autoLogin?: boolean;
  phone?: string;
  captcha?: string;
};

export type CurrentUser = {
  id: string;
  username: string;
  status: number;
  avatar?: string;
};
